from celery_tasks.sms.yuntongxun.ccp_sms import CCP
from celery_tasks.main import celery_app


@celery_app.task(name='cpp_send_sms_code')
def cpp_send_sms_code(mobile, sms_code):
    ret = CCP().send_template_sms(mobile, [sms_code, 5], 1)
    return ret
